package cn.waqwb.bwcar.service;

import cn.waqwb.bwcar.dto.DataGridResult;
import cn.waqwb.bwcar.dto.QueryDTO;
import cn.waqwb.bwcar.pojo.CarMake;

import java.util.List;

/**
 * @author JokerQ
 * @date 2019/11/21 - 20:05
 */
public interface CarMakeService {
    public int addCarMake(CarMake carMake);
    public void delCarMake(Integer id);
    public int updateCarMake(CarMake carMake);
    public CarMake findById(Integer id);
    public List<CarMake> findAll();

    public DataGridResult findByPage(QueryDTO queryDTO);
}
